/*
 * EmployeeBO.java
 *
 * Created on March 7, 2007, 1:16 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Data;

/**
 *
 * @author Danny Beutler
 */
public class EmployeeBO {
    private String id;
    private String firstName;
    private String lastName;
    private String phone;
    private String email;
    private String address;
    private String city;
    private String state;
    private String zip;
    private boolean alreadyInDB=false;
    private boolean dirty =true;
    
    
    /** Creates a new instance of EmployeeBO */
    public EmployeeBO(String GUID) {
        this.id=GUID;
    }
    /** Gets the employee GUID */
    public String getId() {
        return id;
    }
    
    /** Gets the employee FirstName */
    public String getFirstName() {
        return firstName;
    }
    
    /** Sets the employee firstname */
    public void setFirstName(String firstName) {
        dirty=true;
        this.firstName = firstName;
    }
    
    /** Gets the employee lastname */
    public String getLastName() {
        return lastName;
    }
    
    /** Sets the employee lastname */
    public void setLastName(String lastName) {
        dirty=true;
        this.lastName = lastName;
    }
    
    /** Gets the employee Phone */
    public String getPhone() {
        return phone;
    }
    
    /** Sets the employee Phone */
    public void setPhone(String phone) {
        dirty=true;
        this.phone = phone;
    }
    
    /** Gets the employee email */
    public String getEmail() {
        return email;
    }
    
    /** Sets the employee email */
    public void setEmail(String email) {
        dirty=true;
        this.email = email;
    }
    
    /** Gets the employee Address */
    public String getAddress() {
        return address;
    }
    
    /** Sets the employee Address*/
    public void setAddress(String address) {
        dirty=true;
        this.address = address;
    }
    
    /** Gets the employee city */
    public String getCity() {
        return city;
    }
    
    /** Sets the employee city */
    public void setCity(String city) {
        dirty=true;
        this.city = city;
    }
    
    /** Gets the employee state */
    public String getState() {
        return state;
    }
    
    /** Sets the employee state */
    public void setState(String state) {
        dirty=true;
        this.state = state;
    }
    
    /** Gets the employee zip */
    public String getZip() {
        return zip;
    }
    
    /** Sets the employee zip */
    public void setZip(String zip) {
        dirty=true;
        this.zip = zip;
    }
    
    /** Gets the employee isAlreadyInDB variable */
    public boolean isAlreadyInDB() {
        return alreadyInDB;
    }
    
    /** Sets the employee isAlreadyInDB variable*/
    public void setAlreadyInDB(boolean alreadyInDB) {
        this.alreadyInDB = alreadyInDB;
    }
    
    /** Gets the employee dirty variable */
    public boolean isDirty() {
        return dirty;
    }
    
    /** Sets the employee dirty variable */
    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }
    
}
